@extends('admin.layouts.content')
@section('script')
<script type="text/javascript" charset="utf-8">
  new Wanyue().layuiAdmin.form({
      list: [
          {type: 'hidden', title: '', name: '_token', verify: '', value: '{{csrf_token()}}' }
          , {type: 'text', title: '角色名称', name: 'name', verify: 'required', value: '{{ @$role->name ?: "" }}'}
          , {type: 'textarea', title: '角色描述', name: 'remark', verify: 'required', value: '{{ @$role->remark ?: "" }}'}
      ]
  }, {
      url: {
          submit: '{{url()->current()}}'
      }
  });
</script>
@endsection
